package com.sebastian.studies.ch9_MyPoint;

public class MyPointMain {

	public static void main(String[] args) {

		MyPoint point1 = new MyPoint(-2, -3);
		MyPoint point2 = new MyPoint(-4, 4);

		System.out.println("Distance is: " + point2.distance(point1, point2));

	}

}
